package org.darcy.utils;

import cn.org.rapid_framework.generator.GeneratorFacade;

/**
 * 代码自动生成入口
 */
public class CodeGenerator {

	public static void main(String[] args) throws Exception {
		// 模板地址
		String templatePath = "classpath:template/code";
		GeneratorFacade g = new GeneratorFacade();
		g.getGenerator().addTemplateRootDir(templatePath);

		//g.generateByAllTable();
		g.generateByTable( "check_spot");
	}
}
